package project.Mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import project.Pojo.Appointment;

@Mapper
public interface AppointmentMapper {

    @Insert("insert into appointment(username,phone,date,type,counselor,notes) values (#{username},#{phone},#{date},#{type},#{counselor},#{notes})")
    boolean insertAppointment(Appointment appointment);
}
